<div class="list-menu" style=" height: 30px;">
  <div style="float:left;">
    <a href="{:U(MODULE_NAME.'/Product/sellrecommendcategoryadd')}" class="button-green">推荐分类添加</a>
  </div>
</div>
<div>
<table class="list">
		<thead>
  		<tr>
        <th>编号</th>
        <th>图片</th> 
        <th>名称</th>
        <th>颜色</th>
        <th>排序</th>
        <th>操作</th>
      </tr>
		</thead>
    <tbody>
		<foreach name='list' item='v'>
        <tr>
           <td>{$v.id}</td>
            <td>
              <img src="http://www.tripvip.cn{$v.img}" width="120" />
           </td> 
           <td>{$v.name}</td>
           <td style=" background-color: {$v.color};"></td>
           <td>{$v.sort}</td>
           <td>
               <a href="{:U(MODULE_NAME.'/Product/sellrecommendcategoryedit',array('id' => $v['id']))}">编辑</a>&nbsp;&nbsp;
               <a href="javascript:;" onclick="toConfirm('{:U(MODULE_NAME.'/Product/sellrecommendcategorydel',array('id' => $v['id']))}', '确实要删除吗？')">删除</a>
           </td>
       </tr>
      </foreach>
 </tbody>
</table>
</div>
<div class="page" style="clear: both;">{$page}</div>
